<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: SceneIterator Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">SceneIterator Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="SceneIterator" --><!-- doxytag: inherits="IIterator&lt; SceneNode &gt;" --><div class="dynheader">
Inheritance diagram for SceneIterator:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_scene_iterator.png" usemap="#SceneIterator_map" alt=""/>
  <map id="SceneIterator_map" name="SceneIterator_map">
<area href="class_i_iterator.html" alt="IIterator&lt; SceneNode &gt;" shape="rect" coords="0,0,145,24"/>
</map>
 </div></div>

<p><a href="class_scene_iterator-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd1f8eecb050943834b7d8db3e9c8ae8"></a><!-- doxytag: member="SceneIterator::SharedPtr" ref="afd1f8eecb050943834b7d8db3e9c8ae8" args="" -->
typedef std::shared_ptr<br class="typebreak"/>
&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>SharedPtr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af3dc195acf31b2c86eede4f5a5388a02"></a><!-- doxytag: member="SceneIterator::WeakPtr" ref="af3dc195acf31b2c86eede4f5a5388a02" args="" -->
typedef std::weak_ptr&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>WeakPtr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8d1b03e7f76c6fbb3db564acbb776a1"></a><!-- doxytag: member="SceneIterator::const_weak_ptr" ref="ab8d1b03e7f76c6fbb3db564acbb776a1" args="" -->
typedef std::weak_ptr&lt; const <br class="typebreak"/>
<a class="el" href="class_scene_node.html">SceneNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>const_weak_ptr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4279574439d86d74f46be01e50c0d767"></a><!-- doxytag: member="SceneIterator::Ptr" ref="a4279574439d86d74f46be01e50c0d767" args="" -->
typedef std::unique_ptr<br class="typebreak"/>
&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07b6a798b7ea407f6c3bcc5b8eeef4e1"></a><!-- doxytag: member="SceneIterator::SceneIterator" ref="a07b6a798b7ea407f6c3bcc5b8eeef4e1" args="(const Document::const_weak_ptr &amp;doc)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>SceneIterator</b> (const Document::const_weak_ptr &amp;doc)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_i_iterator.html">IIterator</a>&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_iterator.html#a121b96ced51a69f6d3c70aa98e42d956">clone</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_iterator.html#ab5ad32d3723b0b109365b277c16bdcd2">hasNext</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_iterator.html#ae57cdd0d528a31cf607c29442f0e81f2">hasPrevious</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual SharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_iterator.html#a23d219bd6733f3e4ee46ab03c7777695">next</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const SharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_iterator.html#a471997682777adb9085f6eb31ee5ff20">next</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual SharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_iterator.html#a2b3cdfc5649ec21da502d5059c39260d">previous</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const SharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_iterator.html#a9d2837cf91ebadc640cb6c20e35b643b">previous</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_iterator.html#ae27d09a2003b6c894521482e4c296cde">seek</a> (int pos, IteratorOrigin origin) const </td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a121b96ced51a69f6d3c70aa98e42d956"></a><!-- doxytag: member="SceneIterator::clone" ref="a121b96ced51a69f6d3c70aa98e42d956" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_iterator.html">IIterator</a>&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt; * SceneIterator::clone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Function to copy iterators of the same type. </p>

<p>Implements <a class="el" href="class_i_iterator.html#a6fdc9a8286cb3fe2d6c9a0edba2fd478">IIterator&lt; SceneNode &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ab5ad32d3723b0b109365b277c16bdcd2"></a><!-- doxytag: member="SceneIterator::hasNext" ref="ab5ad32d3723b0b109365b277c16bdcd2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SceneIterator::hasNext </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return true if the iterator has more elements (i.e. it is not at the end) </p>

<p>Implements <a class="el" href="class_i_iterator.html#a3110d893d8f9b57c221d76c058675e76">IIterator&lt; SceneNode &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ae57cdd0d528a31cf607c29442f0e81f2"></a><!-- doxytag: member="SceneIterator::hasPrevious" ref="ae57cdd0d528a31cf607c29442f0e81f2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SceneIterator::hasPrevious </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if the iterator is not at the beginning of the iteration </p>

<p>Implements <a class="el" href="class_i_iterator.html#aeaf6228da3ecdbe4609f78dea914b49d">IIterator&lt; SceneNode &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a23d219bd6733f3e4ee46ab03c7777695"></a><!-- doxytag: member="SceneIterator::next" ref="a23d219bd6733f3e4ee46ab03c7777695" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SceneNode::SharedPtr SceneIterator::next </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the next element and advance the iterator by one. </p>

<p>Implements <a class="el" href="class_i_iterator.html#a8b2d9aad7676fe147079b76700551bd3">IIterator&lt; SceneNode &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a471997682777adb9085f6eb31ee5ff20"></a><!-- doxytag: member="SceneIterator::next" ref="a471997682777adb9085f6eb31ee5ff20" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const SceneNode::SharedPtr SceneIterator::next </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the next element and advance the iterator by one. </p>

<p>Implements <a class="el" href="class_i_iterator.html#a374a31dfc6dbb808a45c5fd11c7d3a71">IIterator&lt; SceneNode &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a2b3cdfc5649ec21da502d5059c39260d"></a><!-- doxytag: member="SceneIterator::previous" ref="a2b3cdfc5649ec21da502d5059c39260d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SceneNode::SharedPtr SceneIterator::previous </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the previous elements and move the iterator one position backwards. </p>

<p>Implements <a class="el" href="class_i_iterator.html#a6eb4b8396dc95029d695abc711896ba3">IIterator&lt; SceneNode &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a9d2837cf91ebadc640cb6c20e35b643b"></a><!-- doxytag: member="SceneIterator::previous" ref="a9d2837cf91ebadc640cb6c20e35b643b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const SceneNode::SharedPtr SceneIterator::previous </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the previous elements and move the iterator one position backwards. </p>

<p>Implements <a class="el" href="class_i_iterator.html#a59bc93da920e39bc42caa0804f06d121">IIterator&lt; SceneNode &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ae27d09a2003b6c894521482e4c296cde"></a><!-- doxytag: member="SceneIterator::seek" ref="ae27d09a2003b6c894521482e4c296cde" args="(int pos, IteratorOrigin origin) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SceneIterator::seek </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IteratorOrigin&#160;</td>
          <td class="paramname"><em>origin</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the current position to pos relative to origin.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pos</td><td>number of elements to jump relative to origin </td></tr>
    <tr><td class="paramname">origin</td><td>states the reference to jump. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_i_iterator.html#a6996f0cd1b32bb80e36b130b7b242b8a">IIterator&lt; SceneNode &gt;</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>qsculpt/src/Document.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu May 31 2012 16:19:52 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
